package xyz.xtt.exchange.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/mq")
public class MqController {

//	private static final String NFT_SYNC_MESSAGE = "nft_sync_message";
//	@Autowired
//	private RocketMQTemplate rocketMQTemplate;
//
//	@GetMapping("/send")
//	public ResponseEntity<String> send() {
//		String uuid = UUID.randomUUID().toString();
//		SendResult syncSend = rocketMQTemplate.syncSend(NFT_SYNC_MESSAGE, uuid);
//		return ResponseEntity.ok(uuid + "|" + syncSend.getMsgId());
//	}
}